home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / presto / prest1_0.lha / Tests / burner / README < prev   
Text File  |  1991-12-11  |  761b  |  27 lines

  1.  
  2. Burner is a silly little program.  It simply forks off
  3. some number of threads, each of which spins in a tight
  4. loop for some number of iterations, prints a number
  5. which identifies the thread, and exits.  Here are the
  6. options:
  7.  
  8. -a              enable processor affinity (on a Sequent Symmetry only)
  9.  
  10. -q<num>        preemption quantum in milliseconds
  11.         default: no time slicing
  12.  
  13. -s<num>        how many loop iterations for each thread
  14.         default: 500,000
  15.  
  16. -t<num>        how many "burner" threads
  17.         default: 5
  18.  
  19. -n<num>        how many processors to use
  20.         default: 1
  21.  
  22. Burner serves well as a simple-minded test/demo for
  23. time-sliced preemption.  If you run it with more threads
  24. than processors and a nonzero quantum, and all the threads
  25. exit "at the same time" then preemption is working.
  26.  
  27.